I am getting errors with a basic installation (basically
following railscast 67, but grabbing the plugin from git) when I
try to create a user or login. I followed the instructions at the
github repository and everything generated fine and http://localhost:3000/login loads
correctly, but when I click the log in button I get the error:
NameError in SessionsController#create
uninitialized constant User::Authentication
RAILS_ROOT: /home/irvin/code/rails/todo Application Trace |
Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:102:in const_missing' app/models/user.rb:4
lib/authenticated_system.rb:138:inlogout_keeping_session!'
app/controllers/sessions_controller.rb:10:in
create'
Also when I go to http://localhost:3000/signup I
get the following:
NameError in UsersController#new uninitialized constant
User::Authentication
RAILS_ROOT: /home/irvin/code/rails/todo Application Trace |
Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activesupport-2.2.2/lib/active_support/
dependencies.rb:102:in const_missing' app/models/user.rb:4
app/controllers/users_controller.rb:5:innew'
I am using the following environment: Ruby version 1.8.7
(i486-linux) RubyGems version 1.3.1 Rails version 2.2.2 Active
Record version 2.2.2 Action Pack version 2.2.2 Active Resource
version 2.2.2 Action Mailer version 2.2.2 Active Support version
2.2.2 Application root /home/irvin/code/rails/todo Environment
development Database adapter sqlite3 Database schema version
20090106210012
Thanks